import {Book} from '../../models/book.js'
var book = new Book()
Component({
  properties: {
    item: Object
  },

  methods: {
    onBookTap: function (event) {
      book.toBookDetailPage(event.currentTarget.dataset.id)
    }
  }
})
